﻿@using LSBLL
@model OralExamEntity.OEStudent.MyAccount
<link href="/Content/Oral/@Model.LocalName/message.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $(function () {
        var myAccount = {
            iframe: true,
            beforeSubmit: function () {

            },
            success: function (result) {
                alert(result.Msg);
            },
            dataType: 'json'
        };
        $('#setMyAccount').submit(function () {
            $(this).ajaxSubmit(myAccount);
            return false;
        });
    });
</script>
<div id="back">
    @Model.Common.UserMessage.HtmlTemp(Model.ViewPath + "Temp/Student/UserMessage.cshtml")
    @Model.Common.LeftMenu.HtmlTemp(Model.ViewPath + "Temp/Student/LeftMenu.cshtml")
    <div id="mico">
        <input id="micoButton" type="button" value="测试麦克风" />
    </div>

    <div id="messageImage">
        <br />
        <b style="color: #06C; font-family: '微软雅黑', Arial; font-size: 20px; margin-left: 40px; line-height: 40px;">基本资料</b>
        <div id="line">
            <hr width="650" color="#0099FF" />
        </div>
        @using (Html.BeginForm("myaccount", "student", FormMethod.Post, new { id = "setMyAccount", name = "setMyAccount" }))
        {
            <div id="name">
                <ul>准考证号：@Html.TextBoxFor(m => m.UserNum, new { @class = "textOn", @readonly = "readonly" })</ul>
                <ul>考生姓名：@Html.TextBoxFor(m => m.UserName, new { @class = "textOn" })</ul>
                <ul>生　　日：@Html.TextBoxFor(m => m.Born, new { @class = "textOn" })</ul>
                <ul>
                    性　　别：<span>@Html.RadioButtonFor(m => m.Gender, 1)男 @Html.RadioButtonFor(m => m.Gender, 0)女</span>
                </ul>
                <ul>手　　机：@Html.TextBoxFor(m => m.Mobile, new { @class = "textOn" })</ul>
                <ul>邮　　箱：@Html.TextBoxFor(m => m.Email, new { @class = "textOn" })</ul>
            </div>
            <input id="save" type="submit" value="保存" />
        }
    </div>
    @Model.Common.Head.HtmlTemp(Model.ViewPath + "Temp/Student/Head.cshtml")
    @Model.Common.Feet.HtmlTemp(Model.ViewPath + "Temp/Student/Feet.cshtml")
</div>
